package com.example.service;

import com.example.dto.dataresource.ConnectDto;
import com.example.entity.DataResource;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;

/**
 * <p>
 * 数据库源表 服务类
 * </p>
 *
 * @author baomidou
 * @since 2023-02-28
 */
public interface DataResourceService extends IService<DataResource> {

    HashMap<String,Object> modalConnMysql(ConnectDto sqlInfo);

    HashMap<String,Object> tableConnMysql(Integer id);
}
